package com.workManager.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class TbVEstimateExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TbVEstimateExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andProjectIdIsNull() {
            addCriterion("PROJECT_ID is null");
            return (Criteria) this;
        }

        public Criteria andProjectIdIsNotNull() {
            addCriterion("PROJECT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andProjectIdEqualTo(Integer value) {
            addCriterion("PROJECT_ID =", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotEqualTo(Integer value) {
            addCriterion("PROJECT_ID <>", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThan(Integer value) {
            addCriterion("PROJECT_ID >", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("PROJECT_ID >=", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThan(Integer value) {
            addCriterion("PROJECT_ID <", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThanOrEqualTo(Integer value) {
            addCriterion("PROJECT_ID <=", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdIn(List<Integer> values) {
            addCriterion("PROJECT_ID in", values, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotIn(List<Integer> values) {
            addCriterion("PROJECT_ID not in", values, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdBetween(Integer value1, Integer value2) {
            addCriterion("PROJECT_ID between", value1, value2, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotBetween(Integer value1, Integer value2) {
            addCriterion("PROJECT_ID not between", value1, value2, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectCodeIsNull() {
            addCriterion("PROJECT_CODE is null");
            return (Criteria) this;
        }

        public Criteria andProjectCodeIsNotNull() {
            addCriterion("PROJECT_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andProjectCodeEqualTo(String value) {
            addCriterion("PROJECT_CODE =", value, "projectCode");
            return (Criteria) this;
        }

        public Criteria andProjectCodeNotEqualTo(String value) {
            addCriterion("PROJECT_CODE <>", value, "projectCode");
            return (Criteria) this;
        }

        public Criteria andProjectCodeGreaterThan(String value) {
            addCriterion("PROJECT_CODE >", value, "projectCode");
            return (Criteria) this;
        }

        public Criteria andProjectCodeGreaterThanOrEqualTo(String value) {
            addCriterion("PROJECT_CODE >=", value, "projectCode");
            return (Criteria) this;
        }

        public Criteria andProjectCodeLessThan(String value) {
            addCriterion("PROJECT_CODE <", value, "projectCode");
            return (Criteria) this;
        }

        public Criteria andProjectCodeLessThanOrEqualTo(String value) {
            addCriterion("PROJECT_CODE <=", value, "projectCode");
            return (Criteria) this;
        }

        public Criteria andProjectCodeLike(String value) {
            addCriterion("PROJECT_CODE like", value, "projectCode");
            return (Criteria) this;
        }

        public Criteria andProjectCodeNotLike(String value) {
            addCriterion("PROJECT_CODE not like", value, "projectCode");
            return (Criteria) this;
        }

        public Criteria andProjectCodeIn(List<String> values) {
            addCriterion("PROJECT_CODE in", values, "projectCode");
            return (Criteria) this;
        }

        public Criteria andProjectCodeNotIn(List<String> values) {
            addCriterion("PROJECT_CODE not in", values, "projectCode");
            return (Criteria) this;
        }

        public Criteria andProjectCodeBetween(String value1, String value2) {
            addCriterion("PROJECT_CODE between", value1, value2, "projectCode");
            return (Criteria) this;
        }

        public Criteria andProjectCodeNotBetween(String value1, String value2) {
            addCriterion("PROJECT_CODE not between", value1, value2, "projectCode");
            return (Criteria) this;
        }

        public Criteria andProjectNameIsNull() {
            addCriterion("PROJECT_NAME is null");
            return (Criteria) this;
        }

        public Criteria andProjectNameIsNotNull() {
            addCriterion("PROJECT_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andProjectNameEqualTo(String value) {
            addCriterion("PROJECT_NAME =", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotEqualTo(String value) {
            addCriterion("PROJECT_NAME <>", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameGreaterThan(String value) {
            addCriterion("PROJECT_NAME >", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameGreaterThanOrEqualTo(String value) {
            addCriterion("PROJECT_NAME >=", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLessThan(String value) {
            addCriterion("PROJECT_NAME <", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLessThanOrEqualTo(String value) {
            addCriterion("PROJECT_NAME <=", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLike(String value) {
            addCriterion("PROJECT_NAME like", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotLike(String value) {
            addCriterion("PROJECT_NAME not like", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameIn(List<String> values) {
            addCriterion("PROJECT_NAME in", values, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotIn(List<String> values) {
            addCriterion("PROJECT_NAME not in", values, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameBetween(String value1, String value2) {
            addCriterion("PROJECT_NAME between", value1, value2, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotBetween(String value1, String value2) {
            addCriterion("PROJECT_NAME not between", value1, value2, "projectName");
            return (Criteria) this;
        }

        public Criteria andTotalContractAmountIsNull() {
            addCriterion("TOTAL_CONTRACT_AMOUNT is null");
            return (Criteria) this;
        }

        public Criteria andTotalContractAmountIsNotNull() {
            addCriterion("TOTAL_CONTRACT_AMOUNT is not null");
            return (Criteria) this;
        }

        public Criteria andTotalContractAmountEqualTo(BigDecimal value) {
            addCriterion("TOTAL_CONTRACT_AMOUNT =", value, "totalContractAmount");
            return (Criteria) this;
        }

        public Criteria andTotalContractAmountNotEqualTo(BigDecimal value) {
            addCriterion("TOTAL_CONTRACT_AMOUNT <>", value, "totalContractAmount");
            return (Criteria) this;
        }

        public Criteria andTotalContractAmountGreaterThan(BigDecimal value) {
            addCriterion("TOTAL_CONTRACT_AMOUNT >", value, "totalContractAmount");
            return (Criteria) this;
        }

        public Criteria andTotalContractAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("TOTAL_CONTRACT_AMOUNT >=", value, "totalContractAmount");
            return (Criteria) this;
        }

        public Criteria andTotalContractAmountLessThan(BigDecimal value) {
            addCriterion("TOTAL_CONTRACT_AMOUNT <", value, "totalContractAmount");
            return (Criteria) this;
        }

        public Criteria andTotalContractAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("TOTAL_CONTRACT_AMOUNT <=", value, "totalContractAmount");
            return (Criteria) this;
        }

        public Criteria andTotalContractAmountIn(List<BigDecimal> values) {
            addCriterion("TOTAL_CONTRACT_AMOUNT in", values, "totalContractAmount");
            return (Criteria) this;
        }

        public Criteria andTotalContractAmountNotIn(List<BigDecimal> values) {
            addCriterion("TOTAL_CONTRACT_AMOUNT not in", values, "totalContractAmount");
            return (Criteria) this;
        }

        public Criteria andTotalContractAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TOTAL_CONTRACT_AMOUNT between", value1, value2, "totalContractAmount");
            return (Criteria) this;
        }

        public Criteria andTotalContractAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TOTAL_CONTRACT_AMOUNT not between", value1, value2, "totalContractAmount");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountIsNull() {
            addCriterion("PAYMENT_AMOUNT is null");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountIsNotNull() {
            addCriterion("PAYMENT_AMOUNT is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountEqualTo(BigDecimal value) {
            addCriterion("PAYMENT_AMOUNT =", value, "paymentAmount");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountNotEqualTo(BigDecimal value) {
            addCriterion("PAYMENT_AMOUNT <>", value, "paymentAmount");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountGreaterThan(BigDecimal value) {
            addCriterion("PAYMENT_AMOUNT >", value, "paymentAmount");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("PAYMENT_AMOUNT >=", value, "paymentAmount");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountLessThan(BigDecimal value) {
            addCriterion("PAYMENT_AMOUNT <", value, "paymentAmount");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("PAYMENT_AMOUNT <=", value, "paymentAmount");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountIn(List<BigDecimal> values) {
            addCriterion("PAYMENT_AMOUNT in", values, "paymentAmount");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountNotIn(List<BigDecimal> values) {
            addCriterion("PAYMENT_AMOUNT not in", values, "paymentAmount");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("PAYMENT_AMOUNT between", value1, value2, "paymentAmount");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("PAYMENT_AMOUNT not between", value1, value2, "paymentAmount");
            return (Criteria) this;
        }

        public Criteria andActualCostIsNull() {
            addCriterion("ACTUAL_COST is null");
            return (Criteria) this;
        }

        public Criteria andActualCostIsNotNull() {
            addCriterion("ACTUAL_COST is not null");
            return (Criteria) this;
        }

        public Criteria andActualCostEqualTo(BigDecimal value) {
            addCriterion("ACTUAL_COST =", value, "actualCost");
            return (Criteria) this;
        }

        public Criteria andActualCostNotEqualTo(BigDecimal value) {
            addCriterion("ACTUAL_COST <>", value, "actualCost");
            return (Criteria) this;
        }

        public Criteria andActualCostGreaterThan(BigDecimal value) {
            addCriterion("ACTUAL_COST >", value, "actualCost");
            return (Criteria) this;
        }

        public Criteria andActualCostGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ACTUAL_COST >=", value, "actualCost");
            return (Criteria) this;
        }

        public Criteria andActualCostLessThan(BigDecimal value) {
            addCriterion("ACTUAL_COST <", value, "actualCost");
            return (Criteria) this;
        }

        public Criteria andActualCostLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ACTUAL_COST <=", value, "actualCost");
            return (Criteria) this;
        }

        public Criteria andActualCostIn(List<BigDecimal> values) {
            addCriterion("ACTUAL_COST in", values, "actualCost");
            return (Criteria) this;
        }

        public Criteria andActualCostNotIn(List<BigDecimal> values) {
            addCriterion("ACTUAL_COST not in", values, "actualCost");
            return (Criteria) this;
        }

        public Criteria andActualCostBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ACTUAL_COST between", value1, value2, "actualCost");
            return (Criteria) this;
        }

        public Criteria andActualCostNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ACTUAL_COST not between", value1, value2, "actualCost");
            return (Criteria) this;
        }

        public Criteria andNeedCostIsNull() {
            addCriterion("NEED_COST is null");
            return (Criteria) this;
        }

        public Criteria andNeedCostIsNotNull() {
            addCriterion("NEED_COST is not null");
            return (Criteria) this;
        }

        public Criteria andNeedCostEqualTo(BigDecimal value) {
            addCriterion("NEED_COST =", value, "needCost");
            return (Criteria) this;
        }

        public Criteria andNeedCostNotEqualTo(BigDecimal value) {
            addCriterion("NEED_COST <>", value, "needCost");
            return (Criteria) this;
        }

        public Criteria andNeedCostGreaterThan(BigDecimal value) {
            addCriterion("NEED_COST >", value, "needCost");
            return (Criteria) this;
        }

        public Criteria andNeedCostGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("NEED_COST >=", value, "needCost");
            return (Criteria) this;
        }

        public Criteria andNeedCostLessThan(BigDecimal value) {
            addCriterion("NEED_COST <", value, "needCost");
            return (Criteria) this;
        }

        public Criteria andNeedCostLessThanOrEqualTo(BigDecimal value) {
            addCriterion("NEED_COST <=", value, "needCost");
            return (Criteria) this;
        }

        public Criteria andNeedCostIn(List<BigDecimal> values) {
            addCriterion("NEED_COST in", values, "needCost");
            return (Criteria) this;
        }

        public Criteria andNeedCostNotIn(List<BigDecimal> values) {
            addCriterion("NEED_COST not in", values, "needCost");
            return (Criteria) this;
        }

        public Criteria andNeedCostBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("NEED_COST between", value1, value2, "needCost");
            return (Criteria) this;
        }

        public Criteria andNeedCostNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("NEED_COST not between", value1, value2, "needCost");
            return (Criteria) this;
        }

        public Criteria andTotalCostIsNull() {
            addCriterion("TOTAL_COST is null");
            return (Criteria) this;
        }

        public Criteria andTotalCostIsNotNull() {
            addCriterion("TOTAL_COST is not null");
            return (Criteria) this;
        }

        public Criteria andTotalCostEqualTo(BigDecimal value) {
            addCriterion("TOTAL_COST =", value, "totalCost");
            return (Criteria) this;
        }

        public Criteria andTotalCostNotEqualTo(BigDecimal value) {
            addCriterion("TOTAL_COST <>", value, "totalCost");
            return (Criteria) this;
        }

        public Criteria andTotalCostGreaterThan(BigDecimal value) {
            addCriterion("TOTAL_COST >", value, "totalCost");
            return (Criteria) this;
        }

        public Criteria andTotalCostGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("TOTAL_COST >=", value, "totalCost");
            return (Criteria) this;
        }

        public Criteria andTotalCostLessThan(BigDecimal value) {
            addCriterion("TOTAL_COST <", value, "totalCost");
            return (Criteria) this;
        }

        public Criteria andTotalCostLessThanOrEqualTo(BigDecimal value) {
            addCriterion("TOTAL_COST <=", value, "totalCost");
            return (Criteria) this;
        }

        public Criteria andTotalCostIn(List<BigDecimal> values) {
            addCriterion("TOTAL_COST in", values, "totalCost");
            return (Criteria) this;
        }

        public Criteria andTotalCostNotIn(List<BigDecimal> values) {
            addCriterion("TOTAL_COST not in", values, "totalCost");
            return (Criteria) this;
        }

        public Criteria andTotalCostBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TOTAL_COST between", value1, value2, "totalCost");
            return (Criteria) this;
        }

        public Criteria andTotalCostNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TOTAL_COST not between", value1, value2, "totalCost");
            return (Criteria) this;
        }

        public Criteria andProfitCostIsNull() {
            addCriterion("PROFIT_COST is null");
            return (Criteria) this;
        }

        public Criteria andProfitCostIsNotNull() {
            addCriterion("PROFIT_COST is not null");
            return (Criteria) this;
        }

        public Criteria andProfitCostEqualTo(BigDecimal value) {
            addCriterion("PROFIT_COST =", value, "profitCost");
            return (Criteria) this;
        }

        public Criteria andProfitCostNotEqualTo(BigDecimal value) {
            addCriterion("PROFIT_COST <>", value, "profitCost");
            return (Criteria) this;
        }

        public Criteria andProfitCostGreaterThan(BigDecimal value) {
            addCriterion("PROFIT_COST >", value, "profitCost");
            return (Criteria) this;
        }

        public Criteria andProfitCostGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("PROFIT_COST >=", value, "profitCost");
            return (Criteria) this;
        }

        public Criteria andProfitCostLessThan(BigDecimal value) {
            addCriterion("PROFIT_COST <", value, "profitCost");
            return (Criteria) this;
        }

        public Criteria andProfitCostLessThanOrEqualTo(BigDecimal value) {
            addCriterion("PROFIT_COST <=", value, "profitCost");
            return (Criteria) this;
        }

        public Criteria andProfitCostIn(List<BigDecimal> values) {
            addCriterion("PROFIT_COST in", values, "profitCost");
            return (Criteria) this;
        }

        public Criteria andProfitCostNotIn(List<BigDecimal> values) {
            addCriterion("PROFIT_COST not in", values, "profitCost");
            return (Criteria) this;
        }

        public Criteria andProfitCostBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("PROFIT_COST between", value1, value2, "profitCost");
            return (Criteria) this;
        }

        public Criteria andProfitCostNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("PROFIT_COST not between", value1, value2, "profitCost");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("CREATE_DATE is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("CREATE_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterionForJDBCDate("CREATE_DATE =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("CREATE_DATE <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterionForJDBCDate("CREATE_DATE >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("CREATE_DATE >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterionForJDBCDate("CREATE_DATE <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("CREATE_DATE <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterionForJDBCDate("CREATE_DATE in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("CREATE_DATE not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("CREATE_DATE between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("CREATE_DATE not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andSalerOrgIdIsNull() {
            addCriterion("SALER_ORG_ID is null");
            return (Criteria) this;
        }

        public Criteria andSalerOrgIdIsNotNull() {
            addCriterion("SALER_ORG_ID is not null");
            return (Criteria) this;
        }

        public Criteria andSalerOrgIdEqualTo(Integer value) {
            addCriterion("SALER_ORG_ID =", value, "salerOrgId");
            return (Criteria) this;
        }

        public Criteria andSalerOrgIdNotEqualTo(Integer value) {
            addCriterion("SALER_ORG_ID <>", value, "salerOrgId");
            return (Criteria) this;
        }

        public Criteria andSalerOrgIdGreaterThan(Integer value) {
            addCriterion("SALER_ORG_ID >", value, "salerOrgId");
            return (Criteria) this;
        }

        public Criteria andSalerOrgIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("SALER_ORG_ID >=", value, "salerOrgId");
            return (Criteria) this;
        }

        public Criteria andSalerOrgIdLessThan(Integer value) {
            addCriterion("SALER_ORG_ID <", value, "salerOrgId");
            return (Criteria) this;
        }

        public Criteria andSalerOrgIdLessThanOrEqualTo(Integer value) {
            addCriterion("SALER_ORG_ID <=", value, "salerOrgId");
            return (Criteria) this;
        }

        public Criteria andSalerOrgIdIn(List<Integer> values) {
            addCriterion("SALER_ORG_ID in", values, "salerOrgId");
            return (Criteria) this;
        }

        public Criteria andSalerOrgIdNotIn(List<Integer> values) {
            addCriterion("SALER_ORG_ID not in", values, "salerOrgId");
            return (Criteria) this;
        }

        public Criteria andSalerOrgIdBetween(Integer value1, Integer value2) {
            addCriterion("SALER_ORG_ID between", value1, value2, "salerOrgId");
            return (Criteria) this;
        }

        public Criteria andSalerOrgIdNotBetween(Integer value1, Integer value2) {
            addCriterion("SALER_ORG_ID not between", value1, value2, "salerOrgId");
            return (Criteria) this;
        }

        public Criteria andSalerOrgNameIsNull() {
            addCriterion("SALER_ORG_NAME is null");
            return (Criteria) this;
        }

        public Criteria andSalerOrgNameIsNotNull() {
            addCriterion("SALER_ORG_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andSalerOrgNameEqualTo(String value) {
            addCriterion("SALER_ORG_NAME =", value, "salerOrgName");
            return (Criteria) this;
        }

        public Criteria andSalerOrgNameNotEqualTo(String value) {
            addCriterion("SALER_ORG_NAME <>", value, "salerOrgName");
            return (Criteria) this;
        }

        public Criteria andSalerOrgNameGreaterThan(String value) {
            addCriterion("SALER_ORG_NAME >", value, "salerOrgName");
            return (Criteria) this;
        }

        public Criteria andSalerOrgNameGreaterThanOrEqualTo(String value) {
            addCriterion("SALER_ORG_NAME >=", value, "salerOrgName");
            return (Criteria) this;
        }

        public Criteria andSalerOrgNameLessThan(String value) {
            addCriterion("SALER_ORG_NAME <", value, "salerOrgName");
            return (Criteria) this;
        }

        public Criteria andSalerOrgNameLessThanOrEqualTo(String value) {
            addCriterion("SALER_ORG_NAME <=", value, "salerOrgName");
            return (Criteria) this;
        }

        public Criteria andSalerOrgNameLike(String value) {
            addCriterion("SALER_ORG_NAME like", value, "salerOrgName");
            return (Criteria) this;
        }

        public Criteria andSalerOrgNameNotLike(String value) {
            addCriterion("SALER_ORG_NAME not like", value, "salerOrgName");
            return (Criteria) this;
        }

        public Criteria andSalerOrgNameIn(List<String> values) {
            addCriterion("SALER_ORG_NAME in", values, "salerOrgName");
            return (Criteria) this;
        }

        public Criteria andSalerOrgNameNotIn(List<String> values) {
            addCriterion("SALER_ORG_NAME not in", values, "salerOrgName");
            return (Criteria) this;
        }

        public Criteria andSalerOrgNameBetween(String value1, String value2) {
            addCriterion("SALER_ORG_NAME between", value1, value2, "salerOrgName");
            return (Criteria) this;
        }

        public Criteria andSalerOrgNameNotBetween(String value1, String value2) {
            addCriterion("SALER_ORG_NAME not between", value1, value2, "salerOrgName");
            return (Criteria) this;
        }

        public Criteria andSalerIdIsNull() {
            addCriterion("SALER_ID is null");
            return (Criteria) this;
        }

        public Criteria andSalerIdIsNotNull() {
            addCriterion("SALER_ID is not null");
            return (Criteria) this;
        }

        public Criteria andSalerIdEqualTo(Integer value) {
            addCriterion("SALER_ID =", value, "salerId");
            return (Criteria) this;
        }

        public Criteria andSalerIdNotEqualTo(Integer value) {
            addCriterion("SALER_ID <>", value, "salerId");
            return (Criteria) this;
        }

        public Criteria andSalerIdGreaterThan(Integer value) {
            addCriterion("SALER_ID >", value, "salerId");
            return (Criteria) this;
        }

        public Criteria andSalerIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("SALER_ID >=", value, "salerId");
            return (Criteria) this;
        }

        public Criteria andSalerIdLessThan(Integer value) {
            addCriterion("SALER_ID <", value, "salerId");
            return (Criteria) this;
        }

        public Criteria andSalerIdLessThanOrEqualTo(Integer value) {
            addCriterion("SALER_ID <=", value, "salerId");
            return (Criteria) this;
        }

        public Criteria andSalerIdIn(List<Integer> values) {
            addCriterion("SALER_ID in", values, "salerId");
            return (Criteria) this;
        }

        public Criteria andSalerIdNotIn(List<Integer> values) {
            addCriterion("SALER_ID not in", values, "salerId");
            return (Criteria) this;
        }

        public Criteria andSalerIdBetween(Integer value1, Integer value2) {
            addCriterion("SALER_ID between", value1, value2, "salerId");
            return (Criteria) this;
        }

        public Criteria andSalerIdNotBetween(Integer value1, Integer value2) {
            addCriterion("SALER_ID not between", value1, value2, "salerId");
            return (Criteria) this;
        }

        public Criteria andSalerNameIsNull() {
            addCriterion("SALER_NAME is null");
            return (Criteria) this;
        }

        public Criteria andSalerNameIsNotNull() {
            addCriterion("SALER_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andSalerNameEqualTo(String value) {
            addCriterion("SALER_NAME =", value, "salerName");
            return (Criteria) this;
        }

        public Criteria andSalerNameNotEqualTo(String value) {
            addCriterion("SALER_NAME <>", value, "salerName");
            return (Criteria) this;
        }

        public Criteria andSalerNameGreaterThan(String value) {
            addCriterion("SALER_NAME >", value, "salerName");
            return (Criteria) this;
        }

        public Criteria andSalerNameGreaterThanOrEqualTo(String value) {
            addCriterion("SALER_NAME >=", value, "salerName");
            return (Criteria) this;
        }

        public Criteria andSalerNameLessThan(String value) {
            addCriterion("SALER_NAME <", value, "salerName");
            return (Criteria) this;
        }

        public Criteria andSalerNameLessThanOrEqualTo(String value) {
            addCriterion("SALER_NAME <=", value, "salerName");
            return (Criteria) this;
        }

        public Criteria andSalerNameLike(String value) {
            addCriterion("SALER_NAME like", value, "salerName");
            return (Criteria) this;
        }

        public Criteria andSalerNameNotLike(String value) {
            addCriterion("SALER_NAME not like", value, "salerName");
            return (Criteria) this;
        }

        public Criteria andSalerNameIn(List<String> values) {
            addCriterion("SALER_NAME in", values, "salerName");
            return (Criteria) this;
        }

        public Criteria andSalerNameNotIn(List<String> values) {
            addCriterion("SALER_NAME not in", values, "salerName");
            return (Criteria) this;
        }

        public Criteria andSalerNameBetween(String value1, String value2) {
            addCriterion("SALER_NAME between", value1, value2, "salerName");
            return (Criteria) this;
        }

        public Criteria andSalerNameNotBetween(String value1, String value2) {
            addCriterion("SALER_NAME not between", value1, value2, "salerName");
            return (Criteria) this;
        }

        public Criteria andSalerCodeIsNull() {
            addCriterion("SALER_CODE is null");
            return (Criteria) this;
        }

        public Criteria andSalerCodeIsNotNull() {
            addCriterion("SALER_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andSalerCodeEqualTo(String value) {
            addCriterion("SALER_CODE =", value, "salerCode");
            return (Criteria) this;
        }

        public Criteria andSalerCodeNotEqualTo(String value) {
            addCriterion("SALER_CODE <>", value, "salerCode");
            return (Criteria) this;
        }

        public Criteria andSalerCodeGreaterThan(String value) {
            addCriterion("SALER_CODE >", value, "salerCode");
            return (Criteria) this;
        }

        public Criteria andSalerCodeGreaterThanOrEqualTo(String value) {
            addCriterion("SALER_CODE >=", value, "salerCode");
            return (Criteria) this;
        }

        public Criteria andSalerCodeLessThan(String value) {
            addCriterion("SALER_CODE <", value, "salerCode");
            return (Criteria) this;
        }

        public Criteria andSalerCodeLessThanOrEqualTo(String value) {
            addCriterion("SALER_CODE <=", value, "salerCode");
            return (Criteria) this;
        }

        public Criteria andSalerCodeLike(String value) {
            addCriterion("SALER_CODE like", value, "salerCode");
            return (Criteria) this;
        }

        public Criteria andSalerCodeNotLike(String value) {
            addCriterion("SALER_CODE not like", value, "salerCode");
            return (Criteria) this;
        }

        public Criteria andSalerCodeIn(List<String> values) {
            addCriterion("SALER_CODE in", values, "salerCode");
            return (Criteria) this;
        }

        public Criteria andSalerCodeNotIn(List<String> values) {
            addCriterion("SALER_CODE not in", values, "salerCode");
            return (Criteria) this;
        }

        public Criteria andSalerCodeBetween(String value1, String value2) {
            addCriterion("SALER_CODE between", value1, value2, "salerCode");
            return (Criteria) this;
        }

        public Criteria andSalerCodeNotBetween(String value1, String value2) {
            addCriterion("SALER_CODE not between", value1, value2, "salerCode");
            return (Criteria) this;
        }

        public Criteria andManagerIdIsNull() {
            addCriterion("MANAGER_ID is null");
            return (Criteria) this;
        }

        public Criteria andManagerIdIsNotNull() {
            addCriterion("MANAGER_ID is not null");
            return (Criteria) this;
        }

        public Criteria andManagerIdEqualTo(Integer value) {
            addCriterion("MANAGER_ID =", value, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdNotEqualTo(Integer value) {
            addCriterion("MANAGER_ID <>", value, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdGreaterThan(Integer value) {
            addCriterion("MANAGER_ID >", value, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("MANAGER_ID >=", value, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdLessThan(Integer value) {
            addCriterion("MANAGER_ID <", value, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdLessThanOrEqualTo(Integer value) {
            addCriterion("MANAGER_ID <=", value, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdIn(List<Integer> values) {
            addCriterion("MANAGER_ID in", values, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdNotIn(List<Integer> values) {
            addCriterion("MANAGER_ID not in", values, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdBetween(Integer value1, Integer value2) {
            addCriterion("MANAGER_ID between", value1, value2, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdNotBetween(Integer value1, Integer value2) {
            addCriterion("MANAGER_ID not between", value1, value2, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerNameIsNull() {
            addCriterion("MANAGER_NAME is null");
            return (Criteria) this;
        }

        public Criteria andManagerNameIsNotNull() {
            addCriterion("MANAGER_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andManagerNameEqualTo(String value) {
            addCriterion("MANAGER_NAME =", value, "managerName");
            return (Criteria) this;
        }

        public Criteria andManagerNameNotEqualTo(String value) {
            addCriterion("MANAGER_NAME <>", value, "managerName");
            return (Criteria) this;
        }

        public Criteria andManagerNameGreaterThan(String value) {
            addCriterion("MANAGER_NAME >", value, "managerName");
            return (Criteria) this;
        }

        public Criteria andManagerNameGreaterThanOrEqualTo(String value) {
            addCriterion("MANAGER_NAME >=", value, "managerName");
            return (Criteria) this;
        }

        public Criteria andManagerNameLessThan(String value) {
            addCriterion("MANAGER_NAME <", value, "managerName");
            return (Criteria) this;
        }

        public Criteria andManagerNameLessThanOrEqualTo(String value) {
            addCriterion("MANAGER_NAME <=", value, "managerName");
            return (Criteria) this;
        }

        public Criteria andManagerNameLike(String value) {
            addCriterion("MANAGER_NAME like", value, "managerName");
            return (Criteria) this;
        }

        public Criteria andManagerNameNotLike(String value) {
            addCriterion("MANAGER_NAME not like", value, "managerName");
            return (Criteria) this;
        }

        public Criteria andManagerNameIn(List<String> values) {
            addCriterion("MANAGER_NAME in", values, "managerName");
            return (Criteria) this;
        }

        public Criteria andManagerNameNotIn(List<String> values) {
            addCriterion("MANAGER_NAME not in", values, "managerName");
            return (Criteria) this;
        }

        public Criteria andManagerNameBetween(String value1, String value2) {
            addCriterion("MANAGER_NAME between", value1, value2, "managerName");
            return (Criteria) this;
        }

        public Criteria andManagerNameNotBetween(String value1, String value2) {
            addCriterion("MANAGER_NAME not between", value1, value2, "managerName");
            return (Criteria) this;
        }

        public Criteria andManagerCodeIsNull() {
            addCriterion("MANAGER_CODE is null");
            return (Criteria) this;
        }

        public Criteria andManagerCodeIsNotNull() {
            addCriterion("MANAGER_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andManagerCodeEqualTo(String value) {
            addCriterion("MANAGER_CODE =", value, "managerCode");
            return (Criteria) this;
        }

        public Criteria andManagerCodeNotEqualTo(String value) {
            addCriterion("MANAGER_CODE <>", value, "managerCode");
            return (Criteria) this;
        }

        public Criteria andManagerCodeGreaterThan(String value) {
            addCriterion("MANAGER_CODE >", value, "managerCode");
            return (Criteria) this;
        }

        public Criteria andManagerCodeGreaterThanOrEqualTo(String value) {
            addCriterion("MANAGER_CODE >=", value, "managerCode");
            return (Criteria) this;
        }

        public Criteria andManagerCodeLessThan(String value) {
            addCriterion("MANAGER_CODE <", value, "managerCode");
            return (Criteria) this;
        }

        public Criteria andManagerCodeLessThanOrEqualTo(String value) {
            addCriterion("MANAGER_CODE <=", value, "managerCode");
            return (Criteria) this;
        }

        public Criteria andManagerCodeLike(String value) {
            addCriterion("MANAGER_CODE like", value, "managerCode");
            return (Criteria) this;
        }

        public Criteria andManagerCodeNotLike(String value) {
            addCriterion("MANAGER_CODE not like", value, "managerCode");
            return (Criteria) this;
        }

        public Criteria andManagerCodeIn(List<String> values) {
            addCriterion("MANAGER_CODE in", values, "managerCode");
            return (Criteria) this;
        }

        public Criteria andManagerCodeNotIn(List<String> values) {
            addCriterion("MANAGER_CODE not in", values, "managerCode");
            return (Criteria) this;
        }

        public Criteria andManagerCodeBetween(String value1, String value2) {
            addCriterion("MANAGER_CODE between", value1, value2, "managerCode");
            return (Criteria) this;
        }

        public Criteria andManagerCodeNotBetween(String value1, String value2) {
            addCriterion("MANAGER_CODE not between", value1, value2, "managerCode");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}